<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>

<div id="app">
    <label>
        <input type="text" v-model="message">
    </label>{{message}}
    <input type="radio" name="sex" value="男" v-model:value="message" > 男
    <input type="radio" name="sex" value="女" v-model:value="message" > 女
    {{message}}
    <select name ="" id ="" v-model="message">
<!--        苹果手机空值会选择不了-->
        <option>---请选择---</option>
        <option>A</option>
        <option>B</option>
        <option>C</option>
    </select>
    <br>
    {{message}}
</div>
<h1>ffdf3</h1>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js"></script>
<script>

    var vm = new Vue({
        el: "#app",
        data: {
            message: "hello,vue3!"
        },
        methods: {
            //方法必须定义在vue的method中
            sayHi: function () {
                alert(this.message)
            }
        }
    });
</script>
</body>
</html>